package org.bedracket.pgeg;

import com.mojang.logging.LogUtils;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
import org.bedracket.pgeg.init.*;
import org.slf4j.Logger;

@Mod(PGEGMod.MOD_ID)
public class PGEGMod {
    public static final String MOD_ID = "pgeg";
    private static final Logger LOGGER = LogUtils.getLogger();
    public static final String NETWORK_VERSION = "1.0";

    public PGEGMod() {
        IEventBus modEventBus = FMLJavaModLoadingContext.get().getModEventBus();
        ModBlocks.BLOCKS.register(modEventBus);
        ModItems.ITEMS.register(modEventBus);
        ModEnchantments.ENCHANTMENTS.register(modEventBus);
        ModRunes.RUNES.register(modEventBus);
        ModMenuTypes.MENU_TYPES.register(modEventBus);
        modEventBus.addListener(ModCreativeModeTabs::onTabCreate);
    }
}
